package ca.concordia.soen6461.wichf.entity;

import java.util.HashSet;
import java.util.Set;

public class User {
	
	public static enum Role {
		PATIENT, DOCTOR, NURSE
	}

	private String id;
	private String password;
	private String name;
	private Set<Role> roles = new HashSet<User.Role>();
	
	public User() {
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Set<Role> getRoles() {
		return roles;
	}

}
